package com.wms.function.mapper;

import java.util.List;
import com.wms.function.domain.TbWarehouse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wms.function.domain.vo.TbWarehouseVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * 仓库设置Mapper接口
 * 
 * @author ruoyi
 * @date 2025-02-19
 */
@Mapper
public interface TbWarehouseMapper extends BaseMapper<TbWarehouse>
{
    /**
     * 查询仓库设置
     * 
     * @param id 仓库设置主键
     * @return 仓库设置
     */
    public TbWarehouse selectTbWarehouseById(Long id);

    /**
     * 查询仓库设置列表
     * 
     * @param tbWarehouse 仓库设置
     * @return 仓库设置集合
     */
    public List<TbWarehouse> selectTbWarehouseList(TbWarehouse tbWarehouse);

    /**
     * 新增仓库设置
     * 
     * @param tbWarehouse 仓库设置
     * @return 结果
     */
    public int insertTbWarehouse(TbWarehouse tbWarehouse);

    /**
     * 修改仓库设置
     * 
     * @param tbWarehouse 仓库设置
     * @return 结果
     */
    public int updateTbWarehouse(TbWarehouse tbWarehouse);

    /**
     * 删除仓库设置
     * 
     * @param id 仓库设置主键
     * @return 结果
     */
    public int deleteTbWarehouseById(Long id);

    /**
     * 批量删除仓库设置
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTbWarehouseByIds(Long[] ids);

    List<TbWarehouseVo> listAll();
}
